using System;
using Azure.Infrastructure;
using Azure.Membership;
using StructureMap.Configuration.DSL;

namespace Azure.Web.Configuration
{
    public class CommonRegistry : Registry
    {
        public CommonRegistry()
        {
            For(typeof (ICache<>))
                .Use(typeof (CacheService<>));
            For<System.Web.Security.MembershipProvider>()
                .Use<AzureMembershipProvider>();
        }
    }
}